@echo off

mshta vbscript:createobject("wscript.shell").run("jre8\bin\java -jar InvoiceRecognize.jar",0)(window.close)&&exit

REM